insertの例:
すでにdbNameというDBに接続済みで、
tableNameは整数型の属性(num1とする)ひとつのみを持つテーブルであり、
deName内で管理されているものとする。
dbName=#insert into tableName values(1);
これで1がtableNameに追加される。
deleteの例:
tableNameからnum1の値が1のタプルを削除する。
dbName=#delete from tableName where numq1 = 1;
No comments:
Post a Comment