Question
a.
CREATE TABLE table_name (column_name column_type);
b.
CREATE table_name (column_type column_name);
c.
CREATE table_name (column_name column_type);
d.
CREATE TABLE table_name (column_type column_name);
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which one of the following statements is used to create a table?
Similar Questions
Discover Related MCQs
Q. Which one of the following statements instantiates the mysqli class?
View solution
Q. hich one of the following statements can be used to select the database?
View solution
Q. Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
View solution
Q. Which method returns the error code generated from the execution of the last MySQL function?
View solution
Q. If there is no error, then what will the error() method return?
View solution
Q. Which one of the following is not a valid class name?
View solution
Q. Fill in the blank with the best option. An Object is a/an ________ of a class.
View solution
Q. There are two objects-
$product1 = new Shop();
$product2 = new Shop();
Which one of the following statements is right about them?
View solution
Q. Which version of PHP introduced the visibility keywords i.e public, private, and protected?
View solution
Q. Which characters is used to access property variables on an object-by-object basis?
View solution
Q. Code that uses a class, function, or method is often described as the..
View solution
Q. Which keyword precedes a method name?
View solution
Q. If you omit the visibility keyword in your method declaration, by default the method will be declared as..
View solution
Q. Which function is used to determine whether the variable’s value is either TRUE or FALSE?
View solution
Q. Which version of PHP introduced class type hints?
View solution
Q. Inheritance is the means by which one or more classes can be derived from a/an ___ class.
View solution
Q. What should be used to refer to a method in the context of a class rather than an object you use?
View solution
Q. Prior to which version of PHP did constructors took the name of the enclosing class.
View solution
Q. Which method or property can only be accessed from within the enclosing class? Even subclasses have no access.
View solution
Q. A mutator method is also called as..
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!