Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: OT: SQL and me

by aaron_baugher (Curate)
on Sep 27, 2013 at 20:24 UTC ( [id://1056072]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    CREATE TABLE artists (
      first_name text default NULL,
    ...
      band       text default NULL,
      id         int(5)   NOT NULL auto_increment
    );
    
  2. or download this
    INSERT INTO artists (first_name, last_name) VALUES ('Billy','Joel');
    INSERT INTO artists (band)                  VALUES ('AC/DC');
    
  3. or download this
    CREATE TABLE albums (
      name   text       NOT NULL,
    ...
      artist int(5) default NULL,
      id     int(8)     NOT NULL auto_increment
    );
    
  4. or download this
    INSERT INTO albums (name,year,format,artist) values ('Glass Houses','1
    +980','lp',123);
    INSERT INTO albums (name,format,artist)      VALUES ('Piano Man','45',
    +123);
    INSERT INTO albums (name,year,format,artist) VALUES ('Back in Black','
    +1980','cd',456);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1056072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-16 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found