I am writing this SQL query on Databricks SQL notebook
Create or replace table student
(
Student_id int primary key,
Age int check ( age>10)
)
But getting an error
[Parse syntax Error ]: syntax error at or near check
1
I am writing this SQL query on Databricks SQL notebook
Create or replace table student
(
Student_id int primary key,
Age int check ( age>10)
)
But getting an error
[Parse syntax Error ]: syntax error at or near check
1