Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: OT: SQL and me

by aaron_baugher (Curate)
on Sep 27, 2013 at 20:24 UTC ( #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
Node Status?
node history
Node Type: note [id://1056072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-07-07 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls