/*This SQL script uses Demos.abs database.
Please open ...\AbsoluteDatabase\Demos\Data\Demos.abs database file.
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