instruction stringclasses 1
value | schema stringclasses 3
values | knowledge stringlengths 0 358 | constraint stringclasses 7
values | query stringlengths 11 104 | response stringlengths 6 588 |
|---|---|---|---|---|---|
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近一周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近一周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去一天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近一天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近一天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去一个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近一个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近一个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近一年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近一年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去一年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去一周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近一年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近一年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去一年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 上周一未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('we... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 本周一未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('we... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 去年一月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('ye... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一周前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一个月前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一年半前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一年前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一天前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一天之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一个月之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一个季度之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一个季度前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一周之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一年半之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一年之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 本月二号未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('da... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 上个月二号未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近两周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近两周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去两天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近两天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近两天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去两个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近两个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近两个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近两年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近两年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去两年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去两周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近两年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近两年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去两年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 上周两未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('we... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 本周两未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('we... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 去年两月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('ye... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两周前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两个月前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两年半前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两年前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两天前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两天之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两个月之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两个季度之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两个季度前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两周之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两年半之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 两年之前未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 本月三号未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('da... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 上个月三号未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近三周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近三周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去三天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近三天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近三天未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去三个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近三个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近三个月未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近三年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近三年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去三年未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去三周未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 近三年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 最近三年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 过去三年半未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 上周三未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('we... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 本周三未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and DATE_PART('we... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 1天内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 1周内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 1星期内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 1个月内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 1年内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 1年半内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 2天内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 2周内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 2星期内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 2个月内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 2年内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 2年半内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 3天内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 3周内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 3星期内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 3个月内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 3年内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 3年半内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
你是一个专业的SQL生成器,请将以下文本转换成可执行的SQL语句。 | <order_id>:订单ID <user_id>:用户ID <invoice_info>:发票信息 <coupon_code>:优惠券码 <refund_status>:退款状态 <refund_amount>:退款金额 <refund_remark>:退款备注 <review_score>:评价分数 <product_list>:商品列表 <payment_method>:支付方式 <total_amount>:订单总金额 <discount_amount>:优惠金额 <shipping_fee>:配送费 <delivery_address>配送地址 <is_canceled>:是否取消 <is_reviewed>:是否评价 <... | 订单详情包括:订单ID、用户ID、商品列表、支付方式、订单总金额、地址、订单时间;是否取消is_cancelled有两种:'o'表示已取消、'x'表示未取消;退款状态refund_status有三种:'in_refund'表示退款中、'has_refunded'表示已退款、'not_refund'表示未退款;支付方式payment_method有三种:'cash'表示现金、'weixin'表示微信、'zhifubao'表示支付宝;日期时间字段order_time、create_time、update_time、refund_time、review_time、calceled_time的格式为mm-dd-yyyy。 | 默认查询最新的50条订单,除非特别说明。 | 一天内未取消未退款,且使用现金或支付宝支付的最新200条订单。 | SELECT order_id AS 订单ID, user_id AS 用户ID, product_list AS 商品列表, payment_method AS 支付方式, total_amount AS 订单总金额, delivery_address AS 配送地址, order_time AS 订单时间 FROM ads_algo_order_info_dd WHERE (payment_method = 'cash' or payment_method = 'zhifubao') and (is_canceled = 'x' or refund_status = 'not_refund') and TO_CHAR(TO_DA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.