GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

SQL Server

Agnaldo Gonçalves Portugiesisch 1 Seite

Inhalt der Notizen (1)

Seite 1

2.1

SELECT tabela_pessoa.id, tabela_evento.evento

FROM tabela_pessoa

INNER JOIN tabela_evento

ON tabela_pessoa.id = tabela_evento.pessoa_id;

2.2

SELECT nome

FROM tabela_pessoa

WHERE nome LIKE '%Doe%';

2.3

INSERT INTO tabela_evento (evento)

values ( 'Lisa Romero');

2.4

UPDATE tabela_evento

SET pessoa_id = 5

WHERE pessoa_id = "NULL";

2.5

DELETE From tabela_evento

WHERE evento = "Evento D";

2.6

DELETE From tabela_pessoa

WHERE pessoa_id = "NULL";

2.7

ALTER tabela_pessoa

ADD idade int;

2.8

CREATE TABLE tabela_telefone (

id int PRIMARY KEY,

telefone varchar(200),

pessoa_id int FOREIGN KEY );​

2.9

ALTER TABLE tabela_telefone

MODIFY COLUMN telefone UNIQUE;

2.10

DROP TABLE tabela_telefone;

Informationen

Beschreibung
Notiz am SQL Server , erstellt von Agnaldo Gonçalves am 07/02/2021.
Erstellt von
Agnaldo Gonçalves · Feb 2021
Aktualisiert
8 Feb 2021
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck