This file contains 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
DELETE FROM `movie` WHERE id='5'; | |
DELETE FROM `movie` WHERE id > '10'; |
This file contains 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
UPDATE `movie` SET `name`='Men in Black' WHERE id='5'; | |
UPDATE `movie` SET `name`='DeadPool' ,`poster`="https://upload.wikimedia.org/wikipedia/en/thumb/2/23/Deadpool_%282016_poster%29.png/220px-Deadpool_%282016_poster%29.png" WHERE id='8'; | |
UPDATE `movie` SET `comment`='' WHERE id='10'; |
This file contains 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
INSERT INTO `movie` VALUES (null,'Interstellar','https://www.gravatar.ghdjecjecvd.com','Best space opera ever!'); | |
INSERT INTO `movie`(`name`, `poster`, `comment`) VALUES ('Matrix','https://WWW.gravatar.gkuegde.com','Welcome to the real world'); | |
INSERT INTO `movie`(`name`, `poster`, `comment`) VALUES ('Matrix','https://WWW.gravatar.gkuegde.com','Welcome to the real world'), ('Matrix Reloaded','https://WWW.gravatar.gkuegde.com','The game has changed'), ('Matrix Revolution','https://WWW.gravatar.gkuegde.com','Liberty'); | |
INSERT INTO `movie`(`name`) VALUES ('Inception'); |
This file contains 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
SELECT * from employee; | |
SELECT name from movie; | |
SELECT id, poster from movie; | |
SELECT poster, comment as avis_spectateur from movie; |
This file contains 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
package indyJavaMethods; | |
public class SecretSentence { | |
public static String writeSecretSentence(String PARAMETRE_1, String PARAMETRE_2) { | |
return (PARAMETRE_1 + " s'incline face à " + PARAMETRE_2); | |
} | |
public static void main(String[] args) { | |
This file contains 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
public class lesVariablesEnJava { | |
public static void main(String[] args) { | |
String movyName = "Indiana Jones and the Last Crusade"; | |
boolean seenMovy = true; | |
int yearRelease = 1989; | |
float rate = 8.3f; | |
System.out.println(movyName); | |
System.out.println(seenMovy); | |
System.out.println(yearRelease); |
This file contains 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
DEBUT algorithme PSEUDO_CODE | |
Afficher "Taper un nombre SVP: " | |
Demande un entier | |
nombre <- Lire entier | |
Répéter nombre fois | |
| Afficher "Bienvenue à la wild" | |
Fin Pour |
This file contains 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
interface Photographiable { | |
photographier(); | |
} | |
interface Caressable { | |
caresser(); | |
} | |
interface Nourrissable { | |
nourrir(); |
This file contains 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
<!DOCTYPE html> | |
<html lang="fr" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Il fait chaud!</title> | |
</head> | |
<body> | |
<form class="" action="index.html" method="post"> | |
<p> | |
<label for="Lieu">Lieu:</label> |
This file contains 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
function hello(name : string) { | |
console.log("Hello " + name); | |
} | |
var firstName = "bob"; | |
hello(firstName); | |
hello(firstName + " marley"); | |
function concat(a : string, b : string) { |
NewerOlder