click below
click below
Normal Size Small Size show me how
App dev FA 6
| Question | Answer |
|---|---|
| Field data types Storage value of FLOAT | 4 Bytes |
| To open a console go to the command window start/run then type | Command |
| Code for showing help in MySQL | \h |
| One important aspect of database management is its querying capability. | True |
| Command to add new column | ADD |
| According to the article of Ian Gilfillan in 2004, the following are the claimed features of MySQL except | High cost |
| MySQL is portable | True |
| Command in MySQL to display today’s date and time | Select now() |
| Type of Field data types that range of Fixed length string between 0 to 255 characters | CHAR |
| Syntax for showing database | SHOW DATABASE <dbname>; |
| Command to display the SQL version | Select version(); |
| are the individual categories of information stored in a record. | Fields |
| Command for inserting a value to your table | INSERT INTO |
| Command for dropping a column | DROP |
| What is Q in SQL? | Query |
| What is L in DML? | Language |
| Which of the following is not Command help in MySQL | Gethelp |
| Command for updating the records | UPDATE |
| Command to create a database | CREATE |
| Syntax for inserting values in a specific column | INSERT INTO <table name> (column name) VALUES (value); |
| Syntax for updating the records | UPDATE <table name> SET <column name> = <value> WHERE <column name> = <value>; |
| Command to display the structure of the table | DESCRIBE |
| Either as outgrowths of earlier academic research | PostgreSQL |
| Command to create a table for the database | CREATE TABLE |
| Syntax for inserting a value to your table | INSERT INTO <table name> VALUES (value1, value2, value3, ....); |
| You can insert a values in a specific column | True |
| Command to view your table | SELECT |
| Syntax to add new column | ALTER TABLE tblname ADD field char(1) |
| Field data types Storage value of BOOL | 1 Byte |
| MySQL prompts means ready for a new command | mysql> |
| Syntax to change field names | ALTER TABLE tblname CHANGE field char(1) |
| Field data types Storage value of CHAR | Number of bytes specified |
| MySQL compiles using | GNU gcc |
| Is a structured set of instructions and criteria for retrieving, adding, modifying, and deleting database information. | Query |
| Command to display the list of table | SHOW tables |
| Command to use database | USE |
| Syntax for creating a table | CREATE TABLE tblname(id int(5) primary key not null auto_increment,name char(25)); |
| mSQL was distributed as shareware | True |
| MySQL prompts means waiting for next line, waiting for completion of a comment that began with /*. | /*> |
| Type of Field data types that range of YYYY-MM-DD | DATE |
| What is S ins SQL? | Structured |
| Type of Field data types that range -128 to 127; 0 is considered false | BOOL |
| Command to delete a table | DROP |
| Is a field in a related table that refers to the primary key in a primary table. | Foreign key |
| Field data types Storage value of DATE | 4 Bytes |
| Command to change field names | CHANGE |
| Type of Field data types that range of Variable length string between 1 to 65,535 characters | VARCHAR |
| Type of Field data types that range of HH:MM:SS | TIME |
| Syntax to display the structure of the table | DESCRIBE tblname |
| mSQL short for | mini SQL |
| MySQL is written in | C++ |
| Type of Field data types that has a small number with a floating decimal point. | FLOAT |
| Syntax for dropping a column | ALTER TABLE tblname DROP field |
| SQL has a standard data manipulation language among many database management system. | True |
| What is M in DML? | Manipulation |
| Command in MySQL to quit | \q |
| Field data types Storage value of DOUBLE | Number of bytes specified |
| Send comment to mysql server | \g |
| Syntax for creating a database | CREATE DATABASE <dbname>; |
| MySQL Command that print current command | \p |
| What is L in SQL? | Language |
| You can update multiple columns | True |
| Command in MySQL to set statement delimiter | \d |
| SQL database improvement was done by a Swedish programmer | Monty Widenius |