CREATE TABLE demo (ID integer primary key, Name varchar(20), Hint text );
CREATE TABLE vendas (
ID_Venda INTEGER primary key AUTOINCREMENT,
Curso VARCHAR(100),
Aluno VARCHAR(100),
Estado VARCHAR(100),
Valor DECIMAL(10.2)
);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mount -t proc proc /proc | |
mount -t sysfs sysfs /sys | |
mount -t devtmpfs devtmpfs /dev | |
# we need to do the redirection only when we are the leader of the process group session. | |
# activating the tty starting at tty_open (https://github.com/torvalds/linux/blob/86731a2a651e58953fc949573895f2fa6d456841/drivers/tty/tty_io.c#L2169) | |
# because of the dup2 syscall will cause the tty_open_proc_set_tty function with | |
# the current process being the leader and passing [this check](https://github.com/torvalds/linux/blob/86731a2a651e58953fc949573895f2fa6d456841/drivers/tty/tty_jobctrl.c#L136). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
tabela = ('Botafogo', 'Palmeiras', 'Fortaleza', 'Flamengo', 'São Paulo', 'Internacional', 'Bahia', 'Cruzeiro', | |
'Atlético-MG', 'Vasco', 'Fluminense', 'Criciúma', 'Grêmio', 'Bragantino', 'Juventude', 'Vitória', | |
'Corinthians', 'Athletico-PR', 'Cuiabá', 'Atlético-GO') | |
print('Welcome to the Brazilian championship table') | |
print(''' Options menu | |
To check the top 5 in the table, type { 1 } | |
To check the last 4 placed press { 2 } |