Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Thanks
What if we do a group by?
DROP TABLE IF EXISTS friends;CREATE TABLE friends(friend1 VARCHAR(50),friend2 VARCHAR(50));INSERT INTO Friends VALUES ("Robin","Rahul"), ("Prithvi","Rahul"), ("John","Rahul"), ("Rahul","Robin"), ("Rahul","Prithvi"), ("Rahul","John");SELECT * FROM friends;
Thanks
What if we do a group by?
DROP TABLE IF EXISTS friends;
CREATE TABLE friends
(
friend1 VARCHAR(50),
friend2 VARCHAR(50)
)
;
INSERT INTO Friends VALUES
("Robin","Rahul"),
("Prithvi","Rahul"),
("John","Rahul"),
("Rahul","Robin"),
("Rahul","Prithvi"),
("Rahul","John")
;
SELECT * FROM friends;