On 17.07.2012 23:50, Skryptic wrote:
> I'm working on building my knowledge base with tables.
>
> If I make two tables Person and Capital as follows using SQL:
>
> Person (id integer, first char(20), last char(20), address char(50),
> city char(30), state char(2), zip char(5))
> Capital (state char(2), city char(30)
>
> How could I create a list such that last names that start with �AB�, and is a list of last names only?
Maybe by something like
SELECT last FROM Person WHERE last LIKE 'AB%';
But what has an SQL question to do with this newsgroup which is about Unix shells?
Janis