This piece of code hopefully speaks largely for itself.
Note: The ‘view name’ in this piece of code is ‘sws_list’ so that you can easily identify it.