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

Re: OT: SQL and me

by soonix (Prior)
on Sep 28, 2013 at 21:18 UTC ( #1056163=note: print w/replies, xml ) Need Help??


in reply to OT: SQL and me

Main difference between Excel sheets and SQL tables: in SQL, there is no row number. To distinguish unique rows, you have to rely on the data. Most often, one uses a separate "id" column, as in the examples already given in this thrrad, but if a field (or combination of fields) contains unique data, you can use that as (primary) key. Besides, defining a key for a table is optional, but of course, most often it is better to have one.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056163]
help
Chatterbox?
[Corion]: Discipulus: Nah, I'm thinking of posting more short stuff, but not all of it is fit for blogs.perl.org, more something a bit longer than Twitter but shorter than my usual b.p.o module posts
[Corion]: But Google+ is tedious and I'd like to keep my posts on an open platform instead, which can be followed via RSS

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-05-26 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?