The below code will create a table called vehicle if the table does not already exist.
if not exists (select * from sysobjects where name='vehicle' and xtype='U')
create table vehicle (
Name varchar(64) not null
)
go
You can master these queries and become proficient in SQL queries by enrolling in an industry-recognized SQL certification.