ensemble de tables reliées par des clés primaires/étrangères
- 1:N One to many
- N:N Many to many => table de jointure
Suarna | Barcelona | Mediterranean | |
---|---|---|---|
The Wee Box Cafe | Edinburgh | Cafe | |
Le Safran | Paris | French | |
Crackers | Berlin | European | |
Pear Tree Cafe | London | Cafe | |
McDonald's | London | Fast Food | |
Paneria | Prague | Fast Food | |
Ristorante Arco di S. Calisto | Rome | Italian | |
Hamburgaria a Gina | Lisbon | American | |
Mibi's International Cuisine | Prague | Japanese |
import random | |
class Game(): | |
HANDS = ("PIERRE", "FEUILLE", "CISEAUX") | |
def __init__(self, max_score=3): | |
self.max_score = max_score | |
self.player_score = 0 | |
self.computer_score = 0 |
const authorization = "Bearer sk_9d181e5372e526fc69209f9e64dae0d0"; | |
// 1. Select our form to get our input | |
const form = document.querySelector('#clearbitForm'); | |
// store all other HTML elements (for enriched info) | |
const userName = document.querySelector('#userName'); | |
const userEmail = document.querySelector('#userEmail'); | |
const userBio = document.querySelector('#userBio'); | |
const userLocation = document.querySelector('#userLocation'); | |
const userInput = form.querySelector("#clearbitEmail"); |
ensemble de tables reliées par des clés primaires/étrangères
# Quiz correction - DB and ActiveRecord | |
### Q1 - What’s a relational database? | |
ensemble de tables reliées par des clés primaires/étrangères | |
### Q2 - What are the different “table relationships” you know? | |
1:N One to many | |
N:N Many to many => table de jointure | |
### Q3 - Consider this e-library service. An author, defined by his name have several books. A book, defined by its title and publishing year, has one author only. What’s this simple database scheme. Please draw it! |
# Quiz correction - DB and ActiveRecord | |
### Q1 - What’s a relational database? | |
ensemble de tables reliées par des clés primaires/étrangères | |
### Q2 - What are the different “table relationships” you know? | |
1:N One to many | |
N:N Many to many => table de jointure | |
### Q3 - Consider this e-library service. An author, defined by his name have several books. A book, defined by its title and publishing year, has one author only. What’s this simple database scheme. Please draw it! |
# Quiz correction - DB and ActiveRecord | |
### Q1 - What’s a relational database? | |
ensemble de tables reliées par des clés primaires/étrangères | |
### Q2 - What are the different “table relationships” you know? | |
1:N One to many | |
N:N Many to many => table de jointure | |
### Q3 - Consider this e-library service. An author, defined by his name have several books. A book, defined by its title and publishing year, has one author only. What’s this simple database scheme. Please draw it! |