Posts by GDPS • 63 points
8 posts
-
1
votes0
answers31
viewsQ: Integrate Combobox with Tableview QT
I have a table Courses: create table Cursos( ID_curso int not null auto_increment, Nome_curso varchar (50), primary key (ID_curso) )default charset = utf8; And another registered table: create table…
-
0
votes1
answer59
viewsA: Select Qt Combobox column
To the problem 1: void MainWindow::on_pushButton_clicked() { ConectarDB = QSqlDatabase::addDatabase("QMYSQL"); ConectarDB.setHostName("localhost"); ConectarDB.setDatabaseName("Banco");…
-
0
votes1
answer59
viewsQ: Select Qt Combobox column
I have a Connect button on the mainwindow.ui void MainWindow::on_pushButton_clicked() { ConectarDB = QSqlDatabase::addDatabase("QMYSQL"); ConectarDB.setHostName("localhost");…
-
0
votes1
answer32
viewsQ: Doubt in SQL Table
I created a table: Tabela Curso: Id int auto_increment nome varchar; Insert: Default, Arquitetura; Architecture has the ID 1 in the table. I delete the course Architecture. When I add any other…
-
1
votes1
answer36
viewsQ: Doubt in Table creation
Good Night, I am creating a database for an association, where it is necessary to do the renewal every semester. I created a registration table with the members data: create table Cadastrados( Nome…
-
1
votes1
answer464
viewsQ: Mysql: Query Table N:N
Create database Banco default character set utf8 default collate utf8_general_ci; use Banco; create table Cadastrados( Nome varchar(50), Sexo enum('M', 'F'), Matricula varchar(9) unique, Curso…
-
0
votes1
answer385
viewsQ: Creation Table Mysql
I recently started to study a little mysql, and decided to create a table of registered here in the club that I am part. Create database Clube default character set utf8 default collate…
-
2
votes1
answer959
viewsQ: Python Interpolate Txt
Good night, I recently started the program in python because of an elective I have at university, but my knowledge is still minimal. My teacher gave a job to do where I should create a code that…