🙏 我们需要您的帮助!SQLtest.online 没有广告,完全依靠捐款运行。哪怕一点点也很有帮助。 立即捐助 →
SQL 代码已复制到剪贴板
任务 16:

获取列的信息

PostgreSQL
获取bookings数据库中seats表的列信息,按表中出现的顺序显示所有列。
预期结果 列数: 44 · 行数: 3
table_catalog table_schema table_name column_name ordinal_position column_default is_nullable data_type character_maximum_length character_octet_length numeric_precision numeric_precision_radix numeric_scale datetime_precision interval_type interval_precision character_set_catalog character_set_schema character_set_name collation_catalog collation_schema collation_name domain_catalog domain_schema domain_name udt_catalog udt_schema udt_name scope_catalog scope_schema scope_name maximum_cardinality dtd_identifier is_self_referencing is_identity identity_generation identity_start identity_increment identity_maximum identity_minimum identity_cycle is_generated generation_expression is_updatable

在下方编写查询并点击 "检查它!"。表的描述在右侧窗格中。

教程

检查查询即表示你同意该查询在不含账户信息的情况下被保存,并可能被纳入匿名数据集,包括用于 AI 训练。 了解详情

查询结果将显示在这里。 Ctrl+Enter - 运行查询