Emicon interview question

Questions on pattern printing ., reversing the strings ,sql queries amd a little bit rdbms