INSERT INTO products (name, price, product_no) VALUES ('cheese', 99, 1);
INSERT INTO products VALUES(2, 'chesse', 99);
INSERT INTO products VALUES (3, 'a', 1), (4, 'b', 2), (5, 'c', 3);
COPY command. You need to log in to the database system, select the database, create the corresponding table, and use COPY to insert the data from the specified filename into tablename with the specified delimiter ,. The command is as follows:COPY tablename FROM 'filename' WITH DELIMITER ',';
WHERE condition to the specified value as shown below:UPDATE products SET price = 10 where product_no = 3;
WHERE condition as shown below:DELETE FROM products where price = 3;
DELETE FROM products;
test:\\c test;
test table.create table test(a1 int);
insert into test values(3),(4);
select * from test;
Feedback