Sql rw : let's make some magik