Ameex interview question

Joins in sql,pattern program in java,pointer in c++