Re: [GENERAL] Showing matrix with single query

2016-10-21 Thread Арсений Нестюк
On Fri, Oct 21, 2016 at 2:45 AM, David G. Johnston < david.g.johns...@gmail.com> wrote: > On Thu, Oct 20, 2016 at 3:35 PM, Арсений Нестюк > wrote: > >> >> I haven't thought about casting null before, it's interesting. It'll make >> the implementation a little easier, but won't answer my question

Re: [GENERAL] Showing matrix with single query

2016-10-20 Thread David G. Johnston
On Thu, Oct 20, 2016 at 6:07 AM, Арсений Нестюк wrote: > Hello everyone. > > I'm trying to solve the following problem: > There's a table (row int, col int, val int) that represents some matrix. > The number of columns in the matrix is arbitrary. I need to show the matrix > in the usual form, wit

[GENERAL] Showing matrix with single query

2016-10-20 Thread Арсений Нестюк
Hello everyone. I'm trying to solve the following problem: There's a table (row int, col int, val int) that represents some matrix. The number of columns in the matrix is arbitrary. I need to show the matrix in the usual form, with columns being the columns of the matrix. So, from the table {(0,0,