This sample illustrates use of DELETE keyword.
This SQL script contains six queries.
First one deletes table named "developers".
The second creates this table with 3 fields.
Queries 3 and 4 insert some data into the table.
The next query deletes all strings in the table that have 'Bob' as value of "name" field.
The sixth query retrieves all rows from this table.
drop table developers;
create table developers (id AutoInc, code Integer, name varchar(20));
insert into developers (code, name) values (5, 'Bob');
insert into developers (code, name) values (7, 'Jeck');
delete from developers where name='Bob';
select * from developers order by name desc, code, id
Download Absolute Database | Learn more
|
|
|
Current version: 7.95
Released: February 08, 2023
Price: $ 149
|
|
Thanks again for the superb tech support, I was worried I'd hit a brick wall this close to the finish line. Even working on the weekend... you guys rock!!!
Bob Boyd
|
|
|