Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
student table create
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
CREATE TABLE student( ID INT NOT NULL IDENTITY(1,1), NAME VARCHAR(20) NOT NULL, AGE INT NOT NULL, PRIMARY KEY(ID) ); CREATE TABLE curs( ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY, NAME VARCHAR(20) NOT NULL, CREDITE INT NOT NULL CHECK(CREDITE >=0 AND CREDITE <10) ); CREATE TABLE INSERT INTO student VALUES('Dan', 23); INSERT INTO student VALUES('Fane', 23); INSERT INTO student VALUES('Alex', 22); INSERT INTO student VALUES('Rotter', 16); INSERT INTO curs VALUES('POO', 6); INSERT INTO curs VALUES('SO', 4); INSERT INTO curs VALUES('Arhitecturi', 6);
View schema
fork mode
|
history
|
discussion