Posts by Mário Vecchi • 41 points
3 posts
-
3
votes2
answers79
viewsA: Mysql query using JOIN
Your mistake lies in this passage: FROM aluno, professor as A INNER JOIN aluno_has_professor as B ON (B.professor_idprofessor = A.idprofessor) Ended up mixing two ways to make select, using INNER…
-
1
votes1
answer134
viewsA: Insert with select if the field is null
Bruno, in this case you can make a check before the Insert, if the value that will pass in the values corresponding to column "CD_PODR" is NULL, you perform the following Insert: STRING SQL =…
-
0
votes1
answer347
viewsQ: Razor MVC - When using @using (Html.Beginform()) the fields are not in front of each other
I’m starting to study MVC + Razor and in example of basic CRUD, I’m trying to put the fields in two columns, as if I was using in HTML. But my code only works if I withdraw the @using…