SQL70 返回更多的产品
SQL70 返回更多的产品 入门 时间限制:1秒 空间限制:256M 描述 OrderItems表含有:订单号order_num,quantity产品数量 order_num quantity a1 105 a2 1100 a2 200 a4 1121 a5 10 a2 19 a7 5 <
SQL69 返回产品并且按照价格排序
SQL69 返回产品并且按照价格排序 简单 时间限制:1秒 空间限制:256M 描述 有Products 表 prod_id prod_name prod_price a0011 egg 3 a0019 sockets 4 b0019 coffee 15 【问题】编写 SQL 语句,返回 Produ
SQL68 返回更高价格的产品
SQL68 返回更高价格的产品 简单 时间限制:1秒 空间限制:256M 描述 Products 表 prod_id prod_name prod_price a0018 sockets 9.49 a0019 iphone13 600 b0019 gucci t-shirts 1000 【问题】编写
SQL67 返回固定价格的产品
SQL67 返回固定价格的产品 入门 时间限制:1秒 空间限制:256M 描述 有表Products prod_id prod_name prod_price a0018 sockets 9.49 a0019 iphone13 600 b0018 gucci t-shirts 1000 【问题】从
SQL66 检查SQL语句
SQL66 检查SQL语句 描述 有Vendors表 vend_name 海底捞 小龙坎 大龙燚 【问题】下面的 SQL 语句有问题吗?尝试将它改正确,使之能够正确运行,并且返回结果根据vend_name逆序排列 SELECT vend_name,
FROM Vendors
ORDER vend
SQL65 按照数量和价格排序
SQL65 按照数量和价格排序 描述 假设有一个OrderItems表 quantity item_price 1 100 10 1003 2 500 【问题】 编写 SQL 语句,显示 OrderItems 表中的数量(quantity)和价格(item_price),并按数量由多到少、价格由高到
SQL64 对顾客ID和日期排序
SQL64 对顾客ID和日期排序 描述 有Orders表 cust_id order_num order_date andy aaaa 2021-01-01 00:00:00 andy bbbb 2021-01-01 12:00:00 bob cccc 2021-01-10 12:00:00 dic
SQL63 检索顾客名称并且排序
SQL63 检索顾客名称并且排序 描述 有表Customers,cust_id代表客户id,cust_name代表客户姓名。 cust_id cust_name a1 andy a2 ben a3 tony a4 tom a5 an a6 lee a7 hex
SQL62 检索所有列
SQL62 检索所有列 描述 现在有Customers 表(表中含有列cust_id代表客户id,cust_name代表客户姓名) cust_id cust_name a1 andy a2 ben a3 tony a4 tom a5 an a6 lee a7 hex 【问题】需要编写 SQL语句,检
SQL61 检索并列出已订购产品的清单
SQL61 检索并列出已订购产品的清单 tpId=298 描述 表OrderItems含有非空的列prod_id代表商品id,包含了所有已订购的商品(有些已被订购多次)。 prod_id a1 a2 a3 a4 a5 a6 a7 【问题】编写SQL 语句,检索并列出所有已订购商品(prod_id)的