Pairing animals together based on weight difference in SQL

Hard

You're given the following table showing the weights of various unique animals in a zoo:

Table: animal_weights

animal_IDweight_lbszoo_ID
9992104012
99929109012
12993219011
982175011

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...