第12097题 单选题
物流轨迹查询中,获取查询结果前3条记录的最高效方式是哪项
conn = sqlite3.connect('logistics.db')
cursor = conn.cursor()
cursor.execute('''
    SELECT track_id, location, timestamp
    FROM tracking
    WHERE package_id = ?
    ORDER BY timestamp DESC''', ('PKG12345',))
# 获取最新轨迹
latest_record = cursor.fetchone()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析