1
I’m trying to develop a mobile app for a final job of my college, it’s pretty simple!
The application has to save the information registered in the database.
However I would have to create 4 different tables to store the data, the tables would be: Usuário
, Aplicativo
, Empresa
and Funcionários
.
And after registering perform Selects that the teacher wants.
The Problem: I don’t know if it is possible to make this creation of 4 different tables on Android Studio
and then insert data into them, to make the selects.
I’ve done an App similar to this before, but only used 1 table.
The same process you use to create a table, just repeat and create all four. In Sqlite onCreate do not forget to give the CREATE table 4x
– leofontes
Yes but I will be able to enter the data and make the selects of these 4 tables ?
– Ian Luca
Of course, a database can have (virtually) infinite tables. You just need to make the methods agnostic as to which table are working (passing parameters) or do a method for each table for each operation.
– leofontes