Divine IT interview question

How is data stored and retrieved from NoSQL? Some SQL queries from 3 tables.