Similar to replicate function – Query Examples