SQL Tutorial

31 / 60

Quiz Question - SQL Create simple table

Create a table with below details.

Table name t_cust with below columns in same order.
cust_name of type character string of fixed-length of max length 25, not nullable
cust_city of type character string of variable-length of max length 25, nullable


Login to MySQL prompt and switch to correct database.
Prepare the table creation SQL and run the SQL on the prompt.