Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gupy #3

Open
CaiaoTeixeira opened this issue Apr 15, 2019 · 2 comments
Open

Gupy #3

CaiaoTeixeira opened this issue Apr 15, 2019 · 2 comments

Comments

@CaiaoTeixeira
Copy link

SELECT * FROM bairro inner join nome where bairro.id_barro=x.id_bairro

SELECT * FROM bairro inner join nome where bairro.id_barro=x.id_bairro

SELECT * FROM bairro inner join nome where bairro.id_barro=x.id_bairro

@Pamelapinna7
Copy link

@@ -0,0 +1,11 @@
SELECIONE CLI.nome "CLIENTE",
C.cor "COR CASA",
B.nome "BAIRRO",
CAR.modelo "MODELO CARRO"
DO cliente CLI
INNER JOIN casa C
ATIVADO (CLI.id_cliente = C.fk_cliente)
INNER JOIN bairro B
ON (B.id_bpite = C.fk_bpite)
INNER JOIN carro CAR
ON (CAR.fk_cliente = CLI.id_Cliente);

@HenriqueBrainer
Copy link

SELECT cl.nome, cs.cor, br.nome AS bairro, crr.modelo FROM cliente cl
INNER JOIN casa cs ON cl.id_cliente = cs.fk_cliente
INNER JOIN bairro br ON br.id_bairro = cs.fk_bairro
INNER JOIN carro crr ON cl.id_cliente = crr.fk_cliente

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants