Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql online compiler

1234567891011
-- create a tableCREATE TABLE students (  id INTEGER PRIMARY KEY,  name TEXT NOT NULL,  gender TEXT NOT NULL);-- insert some valuesINSERT INTO students VALUES (1, 'Ryan', 'M');INSERT INTO students VALUES (2, 'Joanna', 'F');-- fetch some valuesSELECT * FROM students WHERE gender = 'F';
Source by www.mycompiler.io #
 
PREVIOUS NEXT
Tagged: #sql #online #compiler
ADD COMMENT
Topic
Name
9+1 =