Do you mean something like this (I used an elisp block instead of a sql block, but hopefully you get the idea):
#+name: src-block1
#+BEGIN_SRC emacs-lisp
'((1 2) (3 4))
#+END_SRC
#+RESULTS: src-block1
| 1 | 2 |
| 3 | 4 |
#+BEGIN_SRC python :var data=src-block1
print data
#+END_SRC
#+RESULTS:
: [[1, 2], [3, 4]]
If so, give your sql block a name, and use it as a variable in some other block.