我有一个SQLite数据库文件(* .db),我想删除第一行,因为它包含标题。我该怎么做呢? 我的表看起来像这样:
"#RIC" "Date[L]" "Time[L]" "before_or_after" "announcement_time" "window" "BAS"
"#RIC" "Date[L]" "Time[L]" "before_or_after" "announcement_time" "window" "BAS"
"AFI.AX" "20120203" "09:56:00.000" "before" "10:27:00" "-1860" "-0.0697674418604651"
"AFI.AX" "20120203" "09:56:05.000" "before" "10:27:00" "-1855" "-0.0697674418604651"
"AFI.AX" "20120203" "09:56:10.000" "before" "10:27:00" "-1850" "-0.0697674418604651"
非常感谢
答案 0 :(得分:1)
假设没有任何“真实”行可以在其中一个列值中包含列名,请对其进行过滤:
DELETE FROM MyTable WHERE "#RIC" = '#RIC';