Let\'s say that I do have following DB table named LogTable
LogTable
id name show O A false 1 B true 2 C true
This table