You can also use this method:
q)`:anyfilename.csv 0: "," 0: table
The first use of 0: (with the "," as the left arg) turns the table
into a list of csv strings, and then the second use of 0: writes the
csv strings to the file. The save command is easier, but the above
method a) lets you give the file any name you want, and b) will also
work on local table variables within a function (save only works for
global tables).