Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQL on Acess 2007 でテーブルの最初の行を削除するにはどうすればよいですか? Delete Top (1) を試しましたが、構文エラーが発生します。
必要になるだろう:
DELETE t.* FROM Table1 t WHERE t.ID In (SELECT Top 1 ID FROM Table1 ORDER BY ID)
Delete from tableName where IDCOLUMN = ( select top(1) IDCOLUMN from tableName )