SQL Insert Example


INSERT INTO [DBO].[Student] ([ID], [First_Name], [Last_Name])
VALUES (1, 'John', 'Doe');

The code above inserts a row into the Student table. The column ID, First_Name, and Last_Name will be inserted into the Student table upon execution.

Results:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s