MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| lab1 |
| lab10 |
| lab2 |
| lab3 |
| lab8 |
| lab9 |
| mysql |
| performance_schema |
| phpmyadmin |
| test |
+--------------------+
11 rows in set (0.053 sec)
MariaDB [(none)]> create database lab6;
Query OK, 1 row affected (0.004 sec)
MariaDB [(none)]> use lab6;
Database changed
MariaDB [lab6]> source C:\Users\aryan\Downloads\[Link];
ERROR: Unknown command '\U'.
ERROR: Unknown command '\a'.
ERROR: Unknown command '\D'.
ERROR 1049 (42000): Unknown database '[Link];'
unknown [[Link];]> use lab6;
No connection. Trying to reconnect...
Connection id: 10
Current database: *** NONE ***
Database changed
MariaDB [lab6]> source C:\Users\aryan\Downloads\\[Link];
ERROR: Unknown command '\U'.
ERROR: Unknown command '\a'.
ERROR: Unknown command '\D'.
ERROR: Unknown command '\\'.
Query OK, 0 rows affected, 1 warning (0.048 sec)
Query OK, 0 rows affected, 1 warning (0.000 sec)
Query OK, 0 rows affected, 1 warning (0.000 sec)
Query OK, 0 rows affected (0.034 sec)
Query OK, 0 rows affected (0.021 sec)
Query OK, 0 rows affected (0.021 sec)
Query OK, 1 row affected (0.005 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.003 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.002 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.002 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.003 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
Query OK, 1 row affected (0.001 sec)
MariaDB [lab6]> select * from reviewer;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
ERROR 2002 (HY000): Can't connect to MySQL server on 'localhost' (10061)
ERROR: Can't connect to the server
unknown [lab6]> Ctrl-C -- exit!
Bye
C:\Users\aryan>mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.4.24-MariaDB [Link] binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use lab6;
Database changed
MariaDB [lab6]> select * from reviewer;
+------+------------------+
| rID | name |
+------+------------------+
| 201 | Sarah Martinez |
| 202 | Daniel Lewis |
| 203 | Brittany Harris |
| 204 | Mike Anderson |
| 205 | Chris Jackson |
| 206 | Elizabeth Thomas |
| 207 | James Cameron |
| 208 | Ashley White |
+------+------------------+
8 rows in set (0.021 sec)
MariaDB [lab6]> insert into Reviewer values(209, 'Roger Ebert');
Query OK, 1 row affected (0.005 sec)
MariaDB [lab6]> select title from Movie where director='Steven Spielberg';
+-------------------------+
| title |
+-------------------------+
| E.T. |
| Raiders of the Lost Ark |
+-------------------------+
2 rows in set (0.009 sec)
MariaDB [lab6]> select * from Movie;
+------+-------------------------+------+------------------+
| mID | title | year | director |
+------+-------------------------+------+------------------+
| 101 | Gone with the Wind | 1939 | Victor Fleming |
| 102 | Star Wars | 1977 | George Lucas |
| 103 | The Sound of Music | 1965 | Robert Wise |
| 104 | E.T. | 1982 | Steven Spielberg |
| 105 | Titanic | 1997 | James Cameron |
| 106 | Snow White | 1937 | NULL |
| 107 | Avatar | 2009 | James Cameron |
| 108 | Raiders of the Lost Ark | 1981 | Steven Spielberg |
+------+-------------------------+------+------------------+
8 rows in set (0.000 sec)
MariaDB [lab6]> select * from Rating;
+------+------+-------+------------+
| rID | mID | stars | ratingDate |
+------+------+-------+------------+
| 201 | 101 | 2 | 2011-01-22 |
| 201 | 101 | 4 | 2011-01-27 |
| 202 | 106 | 4 | NULL |
| 203 | 103 | 2 | 2011-01-20 |
| 203 | 108 | 4 | 2011-01-12 |
| 203 | 108 | 2 | 2011-01-30 |
| 204 | 101 | 3 | 2011-01-09 |
| 205 | 103 | 3 | 2011-01-27 |
| 205 | 104 | 2 | 2011-01-22 |
| 205 | 108 | 4 | NULL |
| 206 | 107 | 3 | 2011-01-15 |
| 206 | 106 | 5 | 2011-01-19 |
| 207 | 107 | 5 | 2011-01-20 |
| 208 | 104 | 3 | 2011-01-02 |
+------+------+-------+------------+
14 rows in set (0.009 sec)
MariaDB [lab6]> select * from Reviewer;
+------+------------------+
| rID | name |
+------+------------------+
| 201 | Sarah Martinez |
| 202 | Daniel Lewis |
| 203 | Brittany Harris |
| 204 | Mike Anderson |
| 205 | Chris Jackson |
| 206 | Elizabeth Thomas |
| 207 | James Cameron |
| 208 | Ashley White |
| 209 | Roger Ebert |
+------+------------------+
9 rows in set (0.002 sec)
MariaDB [lab6]> select mID from Rating where stars in(3, 5);
+------+
| mID |
+------+
| 101 |
| 103 |
| 107 |
| 106 |
| 107 |
| 104 |
+------+
6 rows in set (0.001 sec)
MariaDB [lab6]> select title from Movie where director is null;
+------------+
| title |
+------------+
| Snow White |
+------------+
1 row in set (0.001 sec)
MariaDB [lab6]> select rID, mID from Rating where ratingDate is not null;
+------+------+
| rID | mID |
+------+------+
| 201 | 101 |
| 201 | 101 |
| 203 | 103 |
| 203 | 108 |
| 203 | 108 |
| 204 | 101 |
| 205 | 103 |
| 205 | 104 |
| 206 | 107 |
| 206 | 106 |
| 207 | 107 |
| 208 | 104 |
+------+------+
12 rows in set (0.001 sec)
MariaDB [lab6]> select title from Movie, Rating where ([Link]=[Link]) and
(rID=203);
+-------------------------+
| title |
+-------------------------+
| The Sound of Music |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
+-------------------------+
3 rows in set (0.001 sec)
MariaDB [lab6]> select name from Reviewer, Rating, Movie where
(([Link]=[Link]) and ([Link]=[Link]) and
title='Gone with the Wind');
+----------------+
| name |
+----------------+
| Sarah Martinez |
| Sarah Martinez |
| Mike Anderson |
+----------------+
3 rows in set (0.005 sec)
MariaDB [lab6]> select * from Movie, Rating where (([Link]=[Link]) and
rID=205 and rID=203);
Empty set (0.001 sec)
MariaDB [lab6]> select * from Movie, Rating r1, Rating r2 where (([Link]=[Link])
and ([Link]=[Link]) and [Link]=205 and [Link]=203);
ERROR 1054 (42S22): Unknown column '[Link]' in 'where clause'
MariaDB [lab6]> select * from Movie, Rating r1, Rating r2 where (([Link]=[Link])
and ([Link]=[Link]) and [Link]=205 and [Link]=203);
+------+-------------------------+------+------------------+------+------+-------
+------------+------+------+-------+------------+
| mID | title | year | director | rID | mID | stars |
ratingDate | rID | mID | stars | ratingDate |
+------+-------------------------+------+------------------+------+------+-------
+------------+------+------+-------+------------+
| 103 | The Sound of Music | 1965 | Robert Wise | 205 | 103 | 3 |
2011-01-27 | 203 | 103 | 2 | 2011-01-20 |
| 108 | Raiders of the Lost Ark | 1981 | Steven Spielberg | 205 | 108 | 4 |
NULL | 203 | 108 | 4 | 2011-01-12 |
| 108 | Raiders of the Lost Ark | 1981 | Steven Spielberg | 205 | 108 | 4 |
NULL | 203 | 108 | 2 | 2011-01-30 |
+------+-------------------------+------+------------------+------+------+-------
+------------+------+------+-------+------------+
3 rows in set (0.001 sec)
MariaDB [lab6]> select title from Movie, Rating, Reviewer where
(([Link]=[Link]) and ([Link]=[Link]) an
d name in('Chris Jackson', 'James Cameron'));
+-------------------------+
| title |
+-------------------------+
| The Sound of Music |
| E.T. |
| Raiders of the Lost Ark |
| Avatar |
+-------------------------+
4 rows in set (0.002 sec)
MariaDB [lab6]> select * from Movie;
+------+-------------------------+------+------------------+
| mID | title | year | director |
+------+-------------------------+------+------------------+
| 101 | Gone with the Wind | 1939 | Victor Fleming |
| 102 | Star Wars | 1977 | George Lucas |
| 103 | The Sound of Music | 1965 | Robert Wise |
| 104 | E.T. | 1982 | Steven Spielberg |
| 105 | Titanic | 1997 | James Cameron |
| 106 | Snow White | 1937 | NULL |
| 107 | Avatar | 2009 | James Cameron |
| 108 | Raiders of the Lost Ark | 1981 | Steven Spielberg |
+------+-------------------------+------+------------------+
8 rows in set (0.001 sec)
MariaDB [lab6]> select * from Rating;
+------+------+-------+------------+
| rID | mID | stars | ratingDate |
+------+------+-------+------------+
| 201 | 101 | 2 | 2011-01-22 |
| 201 | 101 | 4 | 2011-01-27 |
| 202 | 106 | 4 | NULL |
| 203 | 103 | 2 | 2011-01-20 |
| 203 | 108 | 4 | 2011-01-12 |
| 203 | 108 | 2 | 2011-01-30 |
| 204 | 101 | 3 | 2011-01-09 |
| 205 | 103 | 3 | 2011-01-27 |
| 205 | 104 | 2 | 2011-01-22 |
| 205 | 108 | 4 | NULL |
| 206 | 107 | 3 | 2011-01-15 |
| 206 | 106 | 5 | 2011-01-19 |
| 207 | 107 | 5 | 2011-01-20 |
| 208 | 104 | 3 | 2011-01-02 |
+------+------+-------+------------+
14 rows in set (0.001 sec)
MariaDB [lab6]> select * from Reviewer;
+------+------------------+
| rID | name |
+------+------------------+
| 201 | Sarah Martinez |
| 202 | Daniel Lewis |
| 203 | Brittany Harris |
| 204 | Mike Anderson |
| 205 | Chris Jackson |
| 206 | Elizabeth Thomas |
| 207 | James Cameron |
| 208 | Ashley White |
| 209 | Roger Ebert |
+------+------------------+
9 rows in set (0.000 sec)
MariaDB [lab6]> select title from Movie, Rating r1, Rating r2, Reviewer r3,
Reviewer r4 where ([Link]='Sarah Martinez' and [Link]='Mike Anderson' and
[Link]=[Link] and [Link]=[Link] and [Link]=[Link] and [Link]=[Link]);
+--------------------+
| title |
+--------------------+
| Gone with the Wind |
| Gone with the Wind |
+--------------------+
2 rows in set (0.004 sec)
MariaDB [lab6]> select stars from Rating r1, Rating r2 where([Link]!=[Link]);
ERROR 1052 (23000): Column 'stars' in field list is ambiguous
MariaDB [lab6]> select [Link] from Rating r1, Rating r2 where([Link]!=[Link]);
+-------+
| stars |
+-------+
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 5 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 2 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 3 |
| 3 |
| 2 |
| 4 |
| 3 |
| 5 |
| 5 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
| 3 |
+-------+
166 rows in set (0.001 sec)
MariaDB [lab6]> select [Link] from Rating r1, Rating r2 where([Link]!=[Link] and
[Link]=[Link]);
+-------+
| stars |
+-------+
| 3 |
| 3 |
| 5 |
| 3 |
| 4 |
| 4 |
| 2 |
| 4 |
| 2 |
| 4 |
| 2 |
| 5 |
| 4 |
| 3 |
| 2 |
| 3 |
+-------+
16 rows in set (0.001 sec)
MariaDB [lab6]> select [Link] [Link] from Rating r1, Rating r2 where([Link]!
=[Link] and [Link]=[Link]);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near '.mID
from Rating r1, Rating r2 where([Link]!=[Link] and [Link]=[Link])' at line 1
MariaDB [lab6]> select [Link], [Link] from Rating r1, Rating r2 where([Link]!
=[Link] and [Link]=[Link]);
+-------+------+
| stars | mID |
+-------+------+
| 3 | 101 |
| 3 | 101 |
| 5 | 106 |
| 3 | 103 |
| 4 | 108 |
| 4 | 108 |
| 2 | 101 |
| 4 | 101 |
| 2 | 103 |
| 4 | 108 |
| 2 | 108 |
| 5 | 107 |
| 4 | 106 |
| 3 | 107 |
| 2 | 104 |
| 3 | 104 |
+-------+------+
16 rows in set (0.001 sec)
MariaDB [lab6]> select [Link], [Link] from Rating r1, Rating r2
where([Link]<>[Link] and [Link]=[Link]);
+-------+------+
| stars | mID |
+-------+------+
| 3 | 101 |
| 3 | 101 |
| 5 | 106 |
| 3 | 103 |
| 4 | 108 |
| 4 | 108 |
| 2 | 101 |
| 4 | 101 |
| 2 | 103 |
| 4 | 108 |
| 2 | 108 |
| 5 | 107 |
| 4 | 106 |
| 3 | 107 |
| 2 | 104 |
| 3 | 104 |
+-------+------+
16 rows in set (0.001 sec)
MariaDB [lab6]> select title from Movie, Rating where ([Link]=[Link] and
[Link] is null);
Empty set (0.001 sec)
MariaDB [lab6]> select title from Movie, Rating where ([Link]!=[Link]);
+-------------------------+
| title |
+-------------------------+
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Gone with the Wind |
| Star Wars |
| The Sound of Music |
| Titanic |
| Snow White |
| Avatar |
| Raiders of the Lost Ark |
+-------------------------+
98 rows in set (0.001 sec)
MariaDB [lab6]> select title from Movie, Rating where [Link] is not in(select
mID from Movie);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near
'in(select mID from Movie)' at line 1
MariaDB [lab6]> select title from Movie, Rating where [Link] in(select mID from
Movie);
+-------------------------+
| title |
+-------------------------+
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Gone with the Wind |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| The Sound of Music |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| E.T. |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Snow White |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Avatar |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Raiders of the Lost Ark |
| Gone with the Wind |
| Star Wars |
| The Sound of Music |
| E.T. |
| Titanic |
| Snow White |
| Avatar |
| Raiders of the Lost Ark |
+-------------------------+
112 rows in set (0.003 sec)
MariaDB [lab6]> select title from Movie, Rating where [Link] not in(select mID
from Movie);
Empty set (0.002 sec)
MariaDB [lab6]> select title from Movie, Rating where [Link] not in(select mID
from Rating);
+-----------+
| title |
+-----------+
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Star Wars |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
| Titanic |
+-----------+
28 rows in set (0.001 sec)
MariaDB [lab6]> select * from Movie;
+------+-------------------------+------+------------------+
| mID | title | year | director |
+------+-------------------------+------+------------------+
| 101 | Gone with the Wind | 1939 | Victor Fleming |
| 102 | Star Wars | 1977 | George Lucas |
| 103 | The Sound of Music | 1965 | Robert Wise |
| 104 | E.T. | 1982 | Steven Spielberg |
| 105 | Titanic | 1997 | James Cameron |
| 106 | Snow White | 1937 | NULL |
| 107 | Avatar | 2009 | James Cameron |
| 108 | Raiders of the Lost Ark | 1981 | Steven Spielberg |
+------+-------------------------+------+------------------+
8 rows in set (0.001 sec)
MariaDB [lab6]> select * from Rating;
+------+------+-------+------------+
| rID | mID | stars | ratingDate |
+------+------+-------+------------+
| 201 | 101 | 2 | 2011-01-22 |
| 201 | 101 | 4 | 2011-01-27 |
| 202 | 106 | 4 | NULL |
| 203 | 103 | 2 | 2011-01-20 |
| 203 | 108 | 4 | 2011-01-12 |
| 203 | 108 | 2 | 2011-01-30 |
| 204 | 101 | 3 | 2011-01-09 |
| 205 | 103 | 3 | 2011-01-27 |
| 205 | 104 | 2 | 2011-01-22 |
| 205 | 108 | 4 | NULL |
| 206 | 107 | 3 | 2011-01-15 |
| 206 | 106 | 5 | 2011-01-19 |
| 207 | 107 | 5 | 2011-01-20 |
| 208 | 104 | 3 | 2011-01-02 |
+------+------+-------+------------+
14 rows in set (0.001 sec)
MariaDB [lab6]> select * from Reviewer;
+------+------------------+
| rID | name |
+------+------------------+
| 201 | Sarah Martinez |
| 202 | Daniel Lewis |
| 203 | Brittany Harris |
| 204 | Mike Anderson |
| 205 | Chris Jackson |
| 206 | Elizabeth Thomas |
| 207 | James Cameron |
| 208 | Ashley White |
| 209 | Roger Ebert |
+------+------------------+
9 rows in set (0.001 sec)
//till 12