Beginning SQL
Beginning SQL Beginning SQL
logical operators logical operators, 48–49 login information, IBM installation, 412 logs, transaction, 312–313 lost update problems, 320–321 LOWER() function, 170 LTRIM() function, 172 M main program screen, Query Browser tool, 403 master database records, Query Analyzer tool, 435 math operations addition (+) operator, 158 division (/) operator, 158 functions ABS(), 159–160, 181 CEILING(), 165 FLOOR(), 165 POWER(), 160–161, 181 RAND(), 162–163 RND(), 162 ROUND(), 163–164, 166–168 SQRT(), 162 multiplication (*) operator, 158 subtraction (-) operator, 158 MAX() function, 200–202 MemberDetails table, initial data setup, 452–455 memory data types, 19 database caches, 354–355 methods. See functions Microsoft Access databases concatenation, 82–85 data type comparisons, 19 installing blank database link, 424 code views, 428 default screen, 423 design views, 427 490 new table creation, 425 query execution, 426 SQL code, 425–426 overview, 3 Microsoft SQL Server databases concatenation, 82–85 data type comparisons, 19 discussed, 3 Enterprise Manager tool, 435 installing authentication mode, 433 computer selection, 430 downloads, 429 installation types, 431 instance name selection, 432 services accounts, 433 setup complete screen, 434 typical installation option, 432 welcome screen, 429 instance creation, 430 Query Analyzer tool authentication options, 435 downloading, 435 master database records, 435 multiple queries, 439 Object Browser window, 437–438 temporary databases, 437 MID() function, 169 MIN() function, 200–202 minutes, date and time data types, 24 MONTH() function, 178 multiplication operator (*), 158 multiprocessing, processors, 351 MySQL Server databases concatenation, 88–89 data type comparisons, 19 discussed, 3 installing account information, 394 character set configuration, 398 command line interface access, 401
- Page 970: AvailableOnDVD, Rating, CategoryId
- Page 974: LocationId, MeetingDate, MemberAtte
- Page 978: VALUES ( 1, ‘2004-03-01’, ‘Y
- Page 982: ) VALUES ( 2, ‘1 Jan 2004’, ‘
- Page 986: 5 ); INSERT INTO Attendance ( Locat
- Page 992: advanced design (continued) advance
- Page 996: COALESCE () function COALESCE() fun
- Page 1000: conditions conditions, 12 configura
- Page 1004: databases (continued) databases (co
- Page 1008: delimiters delimiters, 41 DESC keyw
- Page 1012: functions (continued) functions (co
- Page 1016: installation (continued) installati
- Page 1022: concurrent connection selection, 39
- Page 1026: passwords group access, 333 IBM ins
- Page 1030: ROLLBACK statement, 307-308 ROLLBAC
- Page 1034: REPEATABLE READ, 319 REVOKE, 344-34
- Page 1038: telephone numbers, data type select
- Page 1042: historical, data selection, 90-94 N
logical operators<br />
logical operators, 48–49<br />
login information, IBM installation, 412<br />
logs, transaction, 312–313<br />
lost update problems, 320–321<br />
LOWER() function, 170<br />
LTRIM() function, 172<br />
M<br />
main program screen, Query Browser tool, 403<br />
master database records, Query Analyzer tool,<br />
435<br />
math operations<br />
addition (+) operator, 158<br />
division (/) operator, 158<br />
functions<br />
ABS(), 159–160, 181<br />
CEILING(), 165<br />
FLOOR(), 165<br />
POWER(), 160–161, 181<br />
RAND(), 162–163<br />
RND(), 162<br />
ROUND(), 163–164, 166–168<br />
SQRT(), 162<br />
multiplication (*) operator, 158<br />
subtraction (-) operator, 158<br />
MAX() function, 200–202<br />
MemberDetails table, initial data setup,<br />
452–455<br />
memory<br />
data types, 19<br />
database caches, 354–355<br />
methods. See functions<br />
Microsoft Access databases<br />
concatenation, 82–85<br />
data type comparisons, 19<br />
installing<br />
blank database link, 424<br />
code views, 428<br />
default screen, 423<br />
design views, 427<br />
490<br />
new table creation, 425<br />
query execution, 426<br />
<strong>SQL</strong> code, 425–426<br />
overview, 3<br />
Microsoft <strong>SQL</strong> Server databases<br />
concatenation, 82–85<br />
data type comparisons, 19<br />
discussed, 3<br />
Enterprise Manager tool, 435<br />
installing<br />
authentication mode, 433<br />
computer selection, 430<br />
downloads, 429<br />
installation types, 431<br />
instance name selection, 432<br />
services accounts, 433<br />
setup complete screen, 434<br />
typical installation option, 432<br />
welcome screen, 429<br />
instance creation, 430<br />
Query Analyzer tool<br />
authentication options, 435<br />
downloading, 435<br />
master database records, 435<br />
multiple queries, 439<br />
Object Browser window, 437–438<br />
temporary databases, 437<br />
MID() function, 169<br />
MIN() function, 200–202<br />
minutes, date and time data types, 24<br />
MONTH() function, 178<br />
multiplication operator (*), 158<br />
multiprocessing, processors, 351<br />
My<strong>SQL</strong> Server databases<br />
concatenation, 88–89<br />
data type comparisons, 19<br />
discussed, 3<br />
installing<br />
account information, 394<br />
character set configuration, 398<br />
command line interface access, 401