Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Working with Tables X-No-Archive
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Skryptic  
View profile  
 More options Jul 17 2012, 5:50 pm
Newsgroups: comp.unix.shell
From: Skryptic <monzia.moo...@gmail.com>
Date: Tue, 17 Jul 2012 14:50:38 -0700 (PDT)
Local: Tues, Jul 17 2012 5:50 pm
Subject: Working with Tables X-No-Archive
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?

OR make a list such that all states and number of persons from Person table.
from each?

OR make one that list all people who live in the capital of their state?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Janis Papanagnou  
View profile  
 More options Jul 17 2012, 6:12 pm
Newsgroups: comp.unix.shell
From: Janis Papanagnou <janis_papanag...@hotmail.com>
Date: Wed, 18 Jul 2012 00:12:43 +0200
Local: Tues, Jul 17 2012 6:12 pm
Subject: Re: Working with Tables X-No-Archive
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas 'PointedEars' Lahn  
View profile  
 More options Jul 18 2012, 9:59 am
Newsgroups: comp.unix.shell
Followup-To: comp.unix.shell
From: Thomas 'PointedEars' Lahn <PointedE...@web.de>
Date: Wed, 18 Jul 2012 15:59:33 +0200
Local: Wed, Jul 18 2012 9:59 am
Subject: Re: Working with Tables X-No-Archive

Janis Papanagnou wrote:
> But what has an SQL question to do with this newsgroup which is about Unix
> shells?

They posted via Google Groups with `X-No-Archive' in the *Subject* header
field value, and too long lines.  What do you expect? :->

--
PointedEars, filtering out almost all Google Groups postings

Please do not Cc: me. / Bitte keine Kopien per E-Mail.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »