README.md aktualisiert
parent
134a3246d5
commit
3c1c9fcb8c
|
@ -90,6 +90,7 @@ print("100 accounts that follow the most of the accounts found in 2)",followed_t
|
||||||
SELECT follower_id,number_of_likes,date_time,author,name,content,id FROM twitter.user
|
SELECT follower_id,number_of_likes,date_time,author,name,content,id FROM twitter.user
|
||||||
WHERE user_id_x IS NOT NULL AND user_id_x=172883064 AND follower_id IS NOT NULL AND number_of_likes IS NOT NULL AND id IS NOT NULL
|
WHERE user_id_x IS NOT NULL AND user_id_x=172883064 AND follower_id IS NOT NULL AND number_of_likes IS NOT NULL AND id IS NOT NULL
|
||||||
PRIMARY KEY ((user_id_x),number_of_likes,follower_id,id);
|
PRIMARY KEY ((user_id_x),number_of_likes,follower_id,id);
|
||||||
|
|
||||||
// # order by need partion key in WHERE
|
// # order by need partion key in WHERE
|
||||||
SELECT * from twitter.start_view_taylor WHERE user_id_x=172883064 ORDER BY number_of_likes DESC LIMIT 25;
|
SELECT * from twitter.start_view_taylor WHERE user_id_x=172883064 ORDER BY number_of_likes DESC LIMIT 25;
|
||||||
// INSERT new tweet
|
// INSERT new tweet
|
||||||
|
|
Loading…
Reference in New Issue