Ctr

Shortest Tweet

"We're losing people's attention!" says someone on the analytics team at Tweeter. To help keep users' attention, the engineers decide that we need to build a new view with the shortest tweets we can possibly show. To fetch the data for this new view, let's select all users and the body of their shortest tweet.

We have users in the tweeters table and their tweets in the tweets table.


tweeters
column_name type
id
INTEGER
username
VARCHAR
email
VARCHAR
registered_at
TIMESTAMPTZ

tweets
column_name type reference
id
INTEGER
NULL
body
TEXT
NULL
user_id
INTEGER
tweeters.id
created_at
TIMESTAMPTZ
NULL

Select all rows and columns of tweeters, and add a column, shortest_tweet, which contains the body of their tweet with the fewest characters. If there are multiple tweets tied for shortest, take the more recent one.

© 2022 Andrew Carlson. All rights reserved.

id
INTEGER
username
VARCHAR
email
VARCHAR
registered_at
TIMESTAMPTZ
shortest_tweet
TEXT
1
1
deonte_murray45
deonte_murray57@hotmail.com
2021-08-02 08:54:42.061+00
You can't input the circuit without hacking the back-end CSS matrix!
2
2
hilda.grant53
hilda_grant48@hotmail.com
2016-04-24 13:52:43.58+00
You can't copy the array without indexing the primary SMS card!
3
3
brisa_jenkins39
brisa_jenkins@hotmail.com
2014-06-12 05:12:17.099+00
You can't hack the bandwidth without quantifying the auxiliary SQL firewall!
4
4
dax1
dax.bode@gmail.com
2018-07-17 11:50:09.979+00
Try to input the SQL port, maybe it will back up the solid state bandwidth!
5
5
annabelle74
annabelle_erdman83@hotmail.com
2016-07-27 14:03:26.745+00
If we input the monitor, we can get to the IB transmitter through the primary HDD transmitter!
6
6
berry.yost15
berry_yost19@gmail.com
2018-04-13 13:24:45.756+00
We need to connect the cross-platform SMTP application!
7
7
ethan67
ethan_kuhn@gmail.com
2019-05-31 06:42:38.464+00
Use the solid state SMTP protocol, then you can index the cross-platform monitor!
8
8
trevion_schuppe15
trevion_schuppe83@gmail.com
2017-07-21 21:15:58.491+00
We need to navigate the wireless SQL panel!
9
9
enrico.durgan1
enrico45@gmail.com
2015-09-02 18:36:33.47+00
We need to hack the bluetooth GB port!
10
10
madge.wehner
madge_wehner@yahoo.com
2021-02-15 14:22:34.017+00
We need to back up the back-end AGP pixel!
11
11
judy.blick60
judy14@yahoo.com
2014-02-11 02:53:02.395+00
I'll generate the optical IB bandwidth, that should application the AGP program!
12
12
marjorie.thompson
marjorie_thompson99@gmail.com
2015-03-29 01:28:47.113+00
If we connect the interface, we can get to the EXE capacitor through the bluetooth JBOD pixel!
13
13
elinore56
elinore11@hotmail.com
2015-12-05 12:43:36.332+00
I'll copy the auxiliary PCI alarm, that should card the GB firewall!
14
14
manuel_torp
manuel79@gmail.com
2015-05-16 11:41:28.533+00
Use the back-end PNG port, then you can index the cross-platform port!
15
15
ryley.denesik98
ryley36@gmail.com
2021-05-21 21:56:12.281+00
NULL
15 rows

You haven't solved this challenge yet!
Are you sure you want to reveal the answer?