Difference between revisions of "SQL"

From Organic Design wiki
(intro from pedia)
m
Line 2: Line 2:
 
'''[[w:SQL|SQL]]''' ('''Structured Query Language''') is a computer language used to create, retrieve, update and delete data from [[w:relational database management system|relational database management system]]s. SQL has been standardised by both [[w:American National Standards Institute|ANSI]] and [[w:International Organization for Standardization|ISO]].   
 
'''[[w:SQL|SQL]]''' ('''Structured Query Language''') is a computer language used to create, retrieve, update and delete data from [[w:relational database management system|relational database management system]]s. SQL has been standardised by both [[w:American National Standards Institute|ANSI]] and [[w:International Organization for Standardization|ISO]].   
  
''SQL'' is commonly spoken either as the names of the letters ''ess-cue-el'' ({{IPA2|ˈɛsˈkjuˈɛl}}), or like the word ''sequel'' ({{IPA2|ˈsiːkwəl}}). The official pronunciation of SQL according to [[w:ANSI|ANSI]] is ''ess-cue-el''. However, each of the major database products (or projects) containing the letters ''SQL'' has its own convention: [[w:MySQL|MySQL]] is officially and commonly pronounced "''My Ess Cue El''"; [[w:PostgreSQL|PostgreSQL]] is expediently pronounced ''postgres'' (being the name of the predecessor to PostgreSQL); and [[w:Microsoft SQL Server|Microsoft SQL Server]] is commonly spoken as ''Microsoft-sequel-server''.
+
''SQL'' is commonly spoken either as the names of the letters ''ess-cue-el'', or like the word ''sequel''. The official pronunciation of SQL according to [[w:ANSI|ANSI]] is ''ess-cue-el''. However, each of the major database products (or projects) containing the letters ''SQL'' has its own convention: [[w:MySQL|MySQL]] is officially and commonly pronounced "''My Ess Cue El''"; [[w:PostgreSQL|PostgreSQL]] is expediently pronounced ''postgres'' (being the name of the predecessor to PostgreSQL); and [[w:Microsoft SQL Server|Microsoft SQL Server]] is commonly spoken as ''Microsoft-sequel-server''.
  
 
== Common MySQL queries ==
 
== Common MySQL queries ==

Revision as of 05:51, 5 June 2007

SQL (Structured Query Language) is a computer language used to create, retrieve, update and delete data from relational database management systems. SQL has been standardised by both ANSI and ISO.

SQL is commonly spoken either as the names of the letters ess-cue-el, or like the word sequel. The official pronunciation of SQL according to ANSI is ess-cue-el. However, each of the major database products (or projects) containing the letters SQL has its own convention: MySQL is officially and commonly pronounced "My Ess Cue El"; PostgreSQL is expediently pronounced postgres (being the name of the predecessor to PostgreSQL); and Microsoft SQL Server is commonly spoken as Microsoft-sequel-server.

Common MySQL queries

Insert into interwiki
<sql>INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES('example','http://www.example.org/$1',0);</sql>
Backup and compress DB & FS
<bash>mysqldump awg -u db --password='password' | 7za a -si backupfile.sql.7z</bash>
<bash>tar cf - directory | 7za a -si backupfile.t7z</bash>

Some SQL queries executable by admin (need fixing to work in new MW1.9.3 environment)

Documentation

MySQL News & Information

Towards SQL for P2P environments