The structure of table view buyers is as follows: +----------------+-------------+------+-----+---------+----- -----------+ | Field | Type | Null | Key | Default | Extra | +----------------+-------------+------+-----+---------+----- -----------+ | user_pri_id | int(15) | | PRI | NULL | auto_increment | | userid | varchar(10) | YES | | NULL | | +----------------+-------------+------+-----+---------+----- -----------+ the value of user_pri_id the last row 2345 then What will happen in the following conditions? Condition1: Delete all the rows and insert another row then. What is the starting value for this auto incremented field user_pri_id , Condition2: Delete the last row(having the field value 2345) and insert another row then. What is the value for this auto incremented field user_pri_id
2 3974A select query over a large table runs very slow because of the growing number of entries in that table. What different measures could be taken to improve speed?
5 13171A company wants to store their invoices in a database. They already have their customers and articles in that database. Both customer and article are each identified by an unique integer value. Please create the SQL statements for creating the necessary table(s) for storing the invoices in a MySQL database. An invoice should hold information like invoice number, customer, date, article(s) and quantity etc.
1 3870For the database from the previous question, please give an SQL query which returns the invoice number of all invoices which contain the article with the number ?1234?. The query should be able to run under a MySQL 4.0 database.
1 3105How would you backup and restore a big MySQL database? What are the advantages of the approach which you have taken over the others?
4 9473
What is set nocount on and what is set nocount off?
Explain what are triggers and rules?
Explain the differences between rdbms and graph database?
What is the difference between translate and replace in oracle?
What is the use of sequences? How do you do sequences?
Difference between 2NF &3NF ?
Explain what is sql server english query?
What is the default port of mongodb server?
How do you update f as m and m as f from the below table testtable?
Can you tell how many values can set the function of mysql to consider?
what are the different kinds of indexing?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
What are different types of tables in sql?
Enlist the advantages of normalizing database.
What is 2nf normalization?