Skip to content

Instantly share code, notes, and snippets.

View Antimatterr's full-sized avatar
💭
☮hola

sidhant singh Antimatterr

💭
☮hola
View GitHub Profile
@Antimatterr
Antimatterr / core-set.sql
Last active September 29, 2022 14:15 — forked from backpackerhh/core-set.sql
SQL - Movie-Rating Query Exercises
-- 1. Find the titles of all movies directed by Steven Spielberg.
SELECT title
FROM Movie
WHERE director = 'Steven Spielberg';
-- 2. Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order.
SELECT DISTINCT year
@Antimatterr
Antimatterr / php-cheat-sheet-01.md
Created June 8, 2021 12:04 — forked from mulderu/php-cheat-sheet-01.md
php cheat sheet , php look up code, php simple guide
# syntax
array ( "key" => "value", … );
die("message");
do { block } while (condition);
$x = 1; 
while($x <= 5) {
    echo "The number is: $x <br>";
    $x++;
}