1
I’m having difficulty creating a database and relating 3 tables : return the name and surname of the customer, his neighborhood, and the values of his movements,the date ordering the movements for this sql command to work
SELECT ClienteNome, ClienteSobrenome, ClienteBairro, MovimentoData,MovimentoValor
FROM Clientes, Contas, Movimentos
WHERE Clientes.ClienteCodigo=Contas.ClienteCodigo
AND Contas.ContaNumero=Movimentos.ContaNumero
ORDER BY MovimentoData desc;
Your problem is to create or access the information entered in this bank, @Lucasnicolaurochasantos? Because your code is only selecting data that should already be existing, and is not creating the BD. Explain better your goal and what you already have, so that I can help you
– Luan Naufal
@Luan Naufal I apologize but the problem is to create a bank(I’m having difficulty creating structure for that select works)
– Lucas Nicolau Rocha Santos
What error are you getting when trying to create, @Lucasnicolaurochasantos?
– Luan Naufal